package com.example.bitmap;

import java.util.Set;

/**
 * @author shanchong
 * @date 2021/2/5
 **/
public class Main {

    public static void main(String[] args) {
        int i = 1;
        if (true) {
            i = (1 << 3) | i;
        }
        if (true) {
            i = (1 << 2) | i;
        }
        if (false) {
            i = (1 << 1) | i;
        }
        i = i >> 1 << 1;
        System.out.println(Integer.toBinaryString(i));
    }
}
